<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/20/020
 * Time: 10:30
 */

namespace app\api\model;


class User extends BaseModel {

    /**
     * 获取用户列表
     * @param array $where
     * @return \think\Paginator
     */
    public static function getList($where = []) {
        return self::where($where)->order('id desc')->paginate(input('param.limit', 15), false, ['query' => input('param.')]);
    }
}